package com.yunc.modules.cms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 问卷题目选项表
 *
 * @author concong tao
 * @since 2019-01-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cms_question_subject_select")
public class QuestionSubjectSelect implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 问卷主键
     */
    private Long questionId;

    /**
     * 题目主键
     */
    private Long subjectId;

    /**
     * 选项名称
     */
    private String title;

    /**
     * 选项，如A，B，C
     */
    private String num;

    /**
     * 得分
     */
    private Double score;
}
